package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.commons.model.dto.CourseTeacherDto;
import com.xuecheng.commons.model.vo.ResponseResult;
import com.xuecheng.content.domain.CourseTeacher;

public interface CourseTeacherService extends IService<CourseTeacher> {
    /**
     * 查询教师列表
     * @param courseId
     * @return
     */
    ResponseResult getTeacherListById(Long courseId);

    /**
     * 教师信息保存更新
     *
     * @param courseTeacherDto
     * @return
     */
    ResponseResult saveCourseTeacher(CourseTeacherDto courseTeacherDto);

    /**
     * 教师信息删除
     * @param courseId
     * @param teacherId
     * @return
     */
    ResponseResult deleteTeacher(Long courseId, Long teacherId);
}